Table of Contents
AI Event Configuration Description
DESCRIPTION
Support HTTP&HTTPS reporting of AI events (by configuring HTTP and HTTPS settings)
url
/System/AIEventCfg
Method
- GET/PUT
xml
<?xml version="1.0" encoding="UTF-8" ?>
<AIEventCfg>
<Enable>true</Enable>
<HttpType>http</HttpType>
</AIEventCfg>
Parameter
Parameter Name | required | types of | illustrate |
---|---|---|---|
Enable | yes | boolean | Is the electronic fence function enabled |
HttpType | yes | string | Event upload method:http,https |
Example
GET Request
GET /System/AIEventCfg HTTP/1.1
Authorization: Basic YWRtaW46
Content-Type: application/xml
User-Agent: PostmanRuntime/7.26.10
Accept: */*
Cache-Control: no-cache
Postman-Token: d7e5cf04-2a97-4b87-801a-38bfcc240c0a
Host: 192.168.1.100
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
GET Response
HTTP/1.0 200 OK
Server: CGI/2.0.2
Content-Type: application/xml
Connection: close
Content-Length:3355
<?xml version="1.0" encoding="UTF-8" ?>
<AIEventCfg>
<Enable>true</Enable>
<HttpType>http</HttpType>
</AIEventCfg>
notes
- For more error codes returned, please refer to the error code description on the homepage